package components.ship;


import images.Images;

import components.AsteroidCollComponent;
import components.CircularShape;
import components.Shape;
import components.asteroids.Asteroid;
import components.weapon.Laser;
import components.weapon.Proyectile;

public class NormalShip extends Ship {

	public NormalShip(double x, double y) {
		super(100, 500, 180, 200, 200, 30, 30, x, y, Images.images.getImage("ship"));
	}

	@Override
	protected Proyectile getMainProyectile() {
		return new Laser(this.getDirVecX(), this.getDirVecY(), this.getAngle(), this.getX(), this.getY());
	}

	public void collideWithAsteroid(Asteroid asteroid){
		this.getState().collideWithAsteroid(asteroid);
	}


	@Override
	public Shape defineShape() {
		return new CircularShape(this);
	}

}
